home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Developer & Web Development Tools / Twistpad 1.64 / Setup.exe / $APPDATA / Carthago / Twistpad / Syntax / HTML.sdf < prev    next >
Text File  |  2007-07-08  |  8KB  |  330 lines

  1. ;HTML Syntax highlight Script for Twistpad
  2. ;1998 - 2007 ⌐ Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=HTML
  6. Extensions=htm;html;stm;stml;htt;hhc;hhk;tpl;hta
  7. Functions=<[Hh][1-6]|(?i)<head|(?i)<body|(?i)<table
  8. ;Spell Everything
  9. Spelling=1
  10. ;Except when a word is in this Contexts:
  11. SpellingContexts=1;3;4;10;12;13;14;100;101;102;103;104
  12. ;delimiters:
  13. delimiters=?%+&*=<>|!~^,.:;(){}#*"][\'/
  14. SnippetFile=HTML Tags.tsf|HtmlChars.tsf|JavaScript.tsf
  15. Template=HTML Template.html
  16. CommentChar=<!--
  17. CommentCharEnd=-->
  18. Brackets=({
  19.  
  20. ;make sure html comment is before the tag definition
  21. [ssHTMLComment]
  22. Type=StartStop
  23. Context=2
  24. Priority=10
  25. Scope=0
  26. WholeWordOnly=0
  27. First=<!--
  28. Last=-->
  29. Background=Default
  30. Foreground=C0C0C0
  31. Italic=1
  32. Outline=1
  33.  
  34. [ssScripts]
  35. Type=startstop
  36. Context=4
  37. Priority=8
  38. Scope=1
  39. first=SCRIPT
  40. last=/SCRIPT
  41. Background=F9F9F9
  42. Foreground=default
  43. WholeWordOnly=1
  44. Outline=1
  45.  
  46. [ssStyle]
  47. Type=startstop
  48. Context=12
  49. Priority=9
  50. Scope=0
  51. WholeWordOnly=0
  52. first=<STYLE
  53. last=</STYLE
  54. Background=FFFFF2
  55. Foreground=800000
  56. Outline=1
  57.  
  58. [ssTag]
  59. Type=StartStop
  60. Context=1
  61. Priority=7
  62. Scope=0
  63. WholeWordOnly=0
  64. First=<
  65. Last=>
  66. Background=Default
  67. Foreground=333399
  68.  
  69. [ssHTMLString]
  70. Type=StartStop
  71. Context=3
  72. Priority=19
  73. Scope=1
  74. WholeWordOnly=0
  75. First="
  76. Last="
  77. Background=Default
  78. Foreground=0000FF
  79.  
  80. [ssScriptsComment]
  81. Type=startstop
  82. Context=8
  83. Priority=9
  84. Scope=4
  85. WholeWordOnly=0
  86. first=//
  87. last=
  88. Background=F9F9F9
  89. Foreground=008000
  90. escapeChar=\
  91.  
  92. [ssScriptsString]
  93. Type=startstop
  94. Context=9
  95. Priority=19
  96. Scope=4
  97. WholeWordOnly=0
  98. first="
  99. last="
  100. Background=F9F9F9
  101. Foreground=408080
  102. escapeChar=\
  103.  
  104. [ssScriptsString2]
  105. Type=startstop
  106. Context=10
  107. Priority=19
  108. Scope=4
  109. WholeWordOnly=0
  110. first='
  111. last='
  112. Background=F9F9F9
  113. Foreground=408080
  114. escapeChar=\
  115.  
  116. [ssScriptsMultilinecomment]
  117. Type=startstop
  118. Context=11
  119. Priority=9
  120. Scope=4
  121. WholeWordOnly=0
  122. first=/*
  123. last=*/
  124. Background=F9F9F9
  125. Foreground=008000
  126. Outline=1
  127. escapeChar=\
  128.  
  129. [ssScriptsBrackets]
  130. Type=startstop
  131. Context=4
  132. Priority=8
  133. Scope=4
  134. WholeWordOnly=0
  135. first={
  136. last=}
  137. Background=F9F9F9
  138. Foreground=default
  139. Outline=1
  140. smart=1
  141.  
  142. [ssStyleBrack]
  143. Type=startstop
  144. Context=13
  145. Priority=9
  146. Scope=12
  147. WholeWordOnly=0
  148. first={
  149. last=}
  150. Background=FFFFF2
  151. Foreground=0000FF
  152. Outline=1
  153. smart=0
  154.  
  155. [ssStylesMultilinecomment]
  156. Type=startstop
  157. Context=14
  158. Priority=9
  159. Scope=12
  160. WholeWordOnly=0
  161. first=/*
  162. last=*/
  163. Background=FFFFF2
  164. Foreground=008000
  165. Outline=1
  166.  
  167. [kTagNames]
  168. Type=keyword
  169. Context=100
  170. Scope=1
  171. Priority=7
  172. WholeWordOnly=1
  173. Keyword1=!DOCTYPE;A;ABBR;ACRONYM;ADDRESS;APPLET;AREA;B;BASE;BASEFONT;BDO;BGSOUND;BIG;BLINK;BLOCKQUOTE;BODY;BR;BUTTON;CAPTION;
  174. Keyword2=CENTER;CITE;CODE;COL;COLGROUP;DD;DEL;DFN;DIR;DIV;DL;DT;EM;EMBED;FIELDSET;FONT;FORM;FRAME;FRAMESET;H1;H2;H3;H4;H5;H6;HEAD
  175. Keyword3=HR;HTML;I;IFRAME;ILAYER;IMG;INPUT;INS;ISINDEX;KBD;KEYGEN;LABEL;LAYER;LEGEND;LI;LINK;LISTING;MAP;MENU;META;MULTICOL;NOBR
  176. Keyword4=NOEMBED;NOFRAMES;NOLAYER;NOSCRIPT;OBJECT;OL;OPTGROUP;OPTION;P;PARAM;PLAINTEXT;PRE;Q;S;SAMP;SCRIPT;SELECT;SERVER;SMALL;
  177. Keyword5=SOUND;SPACER;SPAN;STRIKE;STRONG;STYLE;SUB;SUP;TBODY;TEXTAREA;TITLE;TT;U;UL;VAR;WBR;XMP;TABLE
  178. Keyword6=TD;TR
  179. Keyword7=
  180. Keyword8=
  181. Keyword9=
  182. Keyword10=
  183. Keyword11=
  184. Keyword12=
  185. Keyword13=
  186. Keyword14=
  187. Keyword15=
  188. Keyword16=
  189. Background=default
  190. Foreground=800000
  191. bold=0
  192.  
  193. [kTagAttributes]
  194. Type=keyword
  195. Context=101
  196. Scope=1
  197. Priority=6
  198. WholeWordOnly=1
  199. Keyword1=TFOOT;TH;THEAD;ACCESSKEY;ACTION;ALIGN;ALINK;ALT;BACKGROUND;BALANCE;BEHAVIOR;BGCOLOR;BGPROPERTIES;BORDER;BORDERCOLOR
  200. Keyword2=BORDERCOLORDARK;ORDERCOLORLIGHT;BOTTOMMARGIN;CELLPADDING;CELLSPACING;CHECKED;CLASS;CLASSID;CLEAR;CODE;CODEBASE;CODETYPE
  201. Keyword3=COLOR;COLS;COLSPAN;COMPACT;CONTENT;CONTROLS;COORDS;DATA;DATAFLD;DATAFORMATAS;DATASRC;DIRECTION;DISABLED;DYNSRC;ENCTYPE
  202. Keyword4=EVENT;FACE;FOR;FRAME;FRAMEBORDER;FRAMESPACING;HEIGHT;HIDDEN;HREF;HSPACE;HTTP-EQUIV;ID;ISMAP;LANG;LANGUAGE;LEFTMARGIN
  203. Keyword5=LINK;LOOP;LOWSRC;MARGINHEIGHT;MARGINWIDTH;MAXLENGTH;MAYSCRIPT;METHOD;METHODS;MULTIPLE;NAME;NOHREF;NORESIZE;NOSHADE;NOWRAP
  204. Keyword6=PALETTE;PLUGINSPAGE;PUBLIC;READONLY;REL;REV;RIGHTMARGIN;ROWS;ROWSPAN;RULES;SCROLL;SCROLLAMOUNT;SCROLLDELAY;SCROLLING;SELECTED
  205. Keyword7=SHAPE;SIZE;SPAN;SRC;START;STYLE;TABINDEX;TARGET;TEXT;TITLE;TOPMARGIN;TRUESPEED;TYPE;URL;URN;USEMAP;VALIGN;VALUE;VLINK;
  206. Keyword8=VOLUME;VRML;VSPACE;WIDTH;WRAP
  207. Keyword9=
  208. Keyword10=
  209. Keyword11=
  210. Keyword12=
  211. Keyword13=
  212. Keyword14=
  213. Keyword15=
  214. Keyword16=
  215. Background=default
  216. Foreground=FF0000
  217.  
  218. [kSimbols]
  219. Type=keyword
  220. Context=102
  221. Scope=0
  222. Priority=6
  223. Keyword1=><Ð&ðÄËÏÖÜäëï ö"üÿ
  224. Keyword2=ÆÂÅÊÎÔÞÛâæåêîôßþû
  225. Keyword3=ÁÀÃÇÉÈÍÌÑÓÒØÕÚÙÝáàãçéèíìñóòøõúùý
  226. Background=Default
  227. Foreground=808080
  228.  
  229. [kScriptKeywords]
  230. Type=keyword
  231. Context=103
  232. Scope=4
  233. Priority=8
  234. WholeWordOnly=1
  235. Keyword1=And;As;Boolean;ByRef;Byte;ByVal;Call;Case;Class;Const;Currency;Debug;Dim;Do;Double;Each;Else;ElseIf;Empty;End;EndIf
  236. Keyword2=Enum;Eqv;Event;Exit;False;For;Function;Get;GoTo;If;Imp;Implements;In;Integer;Is;Let;Like;Long;Loop;LSet;Me;Mod;New;
  237. Keyword3=Next;Not;Nothing;Null;On;Option;Optional;Or;ParamArray;Preserve;Private;Public;Raise;Event;ReDim;Rem;Resume;RSet;
  238. Keyword4=Select;Set;Shared;Single;Static;Stop;Sub;Then;To;True;Type;TypeOf;Until;Variant;Wend;While;With;Xor
  239. Keyword5=runat;language;var
  240. Keyword6=
  241. Keyword7=
  242. Keyword8=
  243. Keyword9=
  244. Keyword10=
  245. Keyword11=
  246. Keyword12=
  247. Keyword13=
  248. Keyword14=
  249. Keyword15=
  250. Keyword16=
  251. Background=F9F9F9
  252. Foreground=0000FF
  253.  
  254. [kScriptKeywords2]
  255. Type=keyword
  256. Context=103
  257. Scope=4
  258. Priority=6
  259. WholeWordOnly=1
  260. Keyword1=script
  261. Background=default
  262. Foreground=800000
  263.  
  264. [kStyleKeywords]
  265. Type=keyword
  266. Context=104
  267. Scope=12
  268. Priority=6
  269. WholeWordOnly=1
  270. Keyword1=style
  271. Keyword2=
  272. Keyword3=
  273. Keyword4=
  274. Keyword5=
  275. Keyword6=
  276. Keyword7=
  277. Keyword8=
  278. Keyword9=
  279. Keyword10=
  280. Keyword11=
  281. Keyword12=
  282. Keyword13=
  283. Keyword14=
  284. Keyword15=
  285. Keyword16=
  286. Background=FFFFF2
  287. Foreground=800000
  288.  
  289. [kStyleKeywords2]
  290. Type=keyword
  291. Context=104
  292. Scope=12
  293. Priority=6
  294. WholeWordOnly=1
  295. Keyword1=type
  296. Keyword2=
  297. Keyword3=
  298. Keyword4=
  299. Keyword5=
  300. Keyword6=
  301. Keyword7=
  302. Keyword8=
  303. Keyword9=
  304. Keyword10=
  305. Keyword11=
  306. Keyword12=
  307. Keyword13=
  308. Keyword14=
  309. Keyword15=
  310. Keyword16=
  311. Background=FFFFF2
  312. Foreground=FF0000
  313.  
  314. [kCSSKeys]
  315. Type=keyword
  316. Context=105
  317. Scope=13
  318. Priority=10
  319. WholeWordOnly=1
  320. Keyword1=background;background-attachment;background-color;background-image;background-position;background-repeat;border;border-bottom;border-bottom-color;
  321. Keyword2=border-bottom-style;border-bottom-width;border-collapse;border-color;border-left;border-left-color;border-left-style;border-left-width;border-right;
  322. Keyword3=border-right-color;border-right-style;border-right-width;border-spacing;border-style;border-top;border-top-color;border-top-style;border-top-width;border-width;
  323. Keyword4=bottom;caption-side;clear;clip;color;content;counter-increment;counter-reset;cursor;direction;display;display;empty-cells;float;font;font-family;font-size;font-size-adjust;
  324. Keyword5=font-stretch;font-style;font-variant;font-weight;height;left;letter-spacing;line-height;list-style;list-style-image;list-style-position;list-style-type;margin;margin-bottom;
  325. Keyword6=margin-left;margin-right;margin-top;marker-offset;max-height;max-width;min-height;min-width;outline;outline-color;outline-style;outline-width;overflow;padding;padding-bottom;
  326. Keyword7=padding-left;padding-right;padding-top;position;quotes;right;table-layout;text-align;text-decoration;text-indent;text-shadow;text-transform;top;unicode-bidi;vertical-align;visibility;white-space;width;word-spacing;z-index;
  327. ;Keyword8=line;height;font;size;family
  328. Background=FFFFF2
  329. Foreground=FF0000
  330.